package com.xish.exception;

/**
 * Created by zhanghuyi on 15/7/28.
 */
public class XishException extends Exception{
    private int code = -1;

    public XishException(){
        super();
    }

    public XishException(String message){
        super(message);
    }

    public XishException(String message,int code){
        super(message);
        this.code = code;
    }

    public XishException(String message, Throwable cause) {
        super(message, cause);
    }

    public XishException(Throwable cause) {
        super(cause);
    }
}
